from django.contrib import admin

# Register your models here.

from myApp.models import Server
from django.contrib.auth.models import User

@admin.register(Server)
class ServerAdmin(admin.ModelAdmin):
    list_display = ("s_name", "ip", "create_time", "update_time", "owner_id")  # 数据的展示
    list_per_page = 6   # 分页




